package fristphase.day9_03.ooday05;

public class FinalStaticDemo {
    public static void main(String[] args) {
        System.out.println(Doo.A);//常量不允许被修改
        System.out.println(Doo.b+2);
        System.out.println(Eoo.C);//常量编译速度极快
    }
}
class Doo{
    public static final int A = 5;
    public static int b = 5;
}
class Eoo{
    public final static int C = 6;
}